<textarea id="editor1">
	<p><strong>Foobar</strong></p>
</textarea>

<script>
	CKEDITOR.replace( 'editor1', {
		tabSpaces: 4
	} );
</script>